<Window
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:gh="clr-namespace:BlastExplorer"
		xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
		mc:Ignorable="d" x:Class="BlastExplorer.SequenceLoader"
		
		Title="NCBI protein blast by FastA sequence data"
		WindowStyle="SingleBorderWindow"
		WindowState="Normal" Width="350" Height="520" WindowStartupLocation="CenterOwner">
	<Window.Background>
		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
			<GradientStop Color="#FF9CC7EF" Offset="0"/>
			<GradientStop Color="White" Offset="1"/>
		</LinearGradientBrush>
	</Window.Background>
    <Grid x:Name="LayoutRoot" Margin="0" Width="330">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="114" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition MinHeight="41.92" Height="Auto" />
            <RowDefinition Height="auto" MinHeight="160" />
            <RowDefinition Height="auto" MinHeight="31.96" />
            <RowDefinition Height="auto" MinHeight="31.96" />
            <RowDefinition Height="auto" MinHeight="31.96" />
            <RowDefinition Height="Auto" MinHeight="26" />
			<RowDefinition Height="Auto" MinHeight="66.2" />
        </Grid.RowDefinitions>
        <TextBlock Grid.Column="0"
                   Grid.Row="0" 
                   Text="Enter FastA sequence data" TextWrapping="Wrap" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center" />
        <TextBox AcceptsReturn="True" 
                 Grid.Column="1" 
                 Grid.Row="0" 
                 x:Name="queryField" TextWrapping="WrapWithOverflow" Margin="5" Height="100" />
        <TextBlock Grid.Column="0" 
                   Grid.Row="3"  
                   Text="E-value cutoff" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" />
        <StackPanel Grid.Column="1" 
                    Grid.Row="3" 
                    HorizontalAlignment="Left" 
                    Margin="0" 
                    Orientation="Horizontal">
            <TextBox x:Name="eValueCutoffField" Margin="5,5,2,5" Width="88" />
            <TextBlock Text=" - primary BLAST" Margin="0,5,5,5" />
        </StackPanel>
        <StackPanel Grid.Column="1" Grid.Row="4" HorizontalAlignment="Left" Margin="0" Orientation="Horizontal">
            <TextBox x:Name="cddEValueCutoffField" Margin="5,5,2,5" Width="88" />
            <TextBlock Text=" - conserved domains" Margin="0,5,5,5" />
        </StackPanel>
        <TextBlock Grid.Column="0" Grid.Row="5" Text="Hit list size" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" />
        <TextBox Grid.Column="1" Grid.Row="5" HorizontalAlignment="Left" Margin="5" x:Name="hitListSizeField" Width="88" />
        <TextBlock Grid.Column="0" Grid.Row="6" Text="Use browser proxy" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" />
        <CheckBox Grid.Column="1" Grid.Row="6" Margin="5" x:Name="useBrowserProxyField" />
        <StackPanel Grid.Row="7" Orientation="Horizontal" MinHeight="30" MinWidth="100" d:LayoutOverrides="Width" HorizontalAlignment="Center" VerticalAlignment="Top" Grid.ColumnSpan="2">
            <Button Click="Load_Click" Content="Open" Margin="5,5,5,-5" Width="45" BorderThickness="2" />
            <Button Click="Cancel_Click" Content="Cancel" Margin="5,5,5,-5" Width="45" BorderThickness="2" />
        </StackPanel>
        <Button Content="Load file" Height="30" HorizontalAlignment="Center" Margin="5" x:Name="button1" VerticalAlignment="Center" Width="75" Click="button1_Click" Grid.Row="1" Grid.Column="1" BorderThickness="2" />
        <gh:TaxonSelector Grid.Column="1" Margin="5" x:Name="taxonSelector1" Grid.Row="2" />
    	<TextBlock Margin="5" Grid.Row="1" TextWrapping="Wrap" Text="Load from FastA file" d:LayoutOverrides="Width, Height" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"/>
    	<Path Grid.ColumnSpan="2" Data="M17.536667,151.92 L346.98667,151.92" Fill="#FF8599CE" Height="1" Margin="10,0" Grid.Row="2" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" Stroke="#FF8599CE" StrokeThickness="1" StrokeMiterLimit="10" StrokeLineJoin="Miter" VerticalAlignment="Top"/>
    	<TextBlock Margin="45.68,0,41.22,8" TextWrapping="Wrap" Text="OR" FontWeight="Bold" d:LayoutOverrides="VerticalMargin" HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
    	<TextBlock Text="Taxon"
    		Grid.Column="0"
    		Grid.Row="2" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" />
    </Grid>
</Window>
